import {
} from './supplierType.api';
import { rules } from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';

export const validateParentId = ({ model, schema }) => {
    return [
       {...rules.required(true,"请输入父级节点")},
    ];
}
export const validateTitle = ({ model, schema }) => {
    return [
       {...rules.required(true,"请输入名称")},
    ];
}
export const validateSortNo = ({ model, schema }) => {
    return [
       {...rules.required(true,"请输入排序号")},
    ];
}


